<?php

return array(
    'preLoad' => array(
        'app' => array(
            'BWeEvent' => array(
                'connection' => 'sportBookingDb'
            )
        )
    ),
    'appMeta' => array(
        'appName' => 'TourBox',
        'description' => 'TourBox',
        'operations' => array(
            'manageTourBox' => array('displayName' => 'Mange Tourbox',
                //'class'=>'BSBookingFacilityOperation',
                'permit' => array(BPermit::AllowAccess => BRole::Role_Space_Admin),
                'startScreen' => array(
                    'views' => array(
                        'manageTourBox' => 'manageTourBox')
                )
            ),
            /*
              'manageTravelNotes' => array('displayName' => 'Mange Travel Notes',
              //'class'=>'BSBookingFacilityOperation',
              'permit' => array(BPermit::AllowAccess => BRole::Role_Space_Admin),
              'startScreen' => array(
              'views' => array(
              'manageTravelNotes' => 'manageTravelNotes')
              )
              ),
              'manageTravelFoods' => array('displayName' => 'Mange Travel Foods',
              //'class'=>'BSBookingFacilityOperation',
              'permit' => array(BPermit::AllowAccess => BRole::Role_Space_Admin),
              'startScreen' => array(
              'views' => array(
              'manageTravelFoods' => 'manageTravelFoods')
              )
              ),
              'manageTravelInfo' => array('displayName' => 'Mange Travel Infomation',
              //'class'=>'BSBookingFacilityOperation',
              'permit' => array(BPermit::AllowAccess => BRole::Role_Space_Admin),
              'startScreen' => array(
              'views' => array(
              'manageTravelInfo' => 'manageTravelInfo')
              )
              ),
             * 
             */
            'followTourBox' => array('displayName' => 'Follow Tourbox',
                //'class'=>'BSBookingFacilityOperation',
                'permit' => array(BPermit::AllowAccess => BRole::All_Roles),
                'startScreen' => array(
                    'views' => array(
                        'followTourBox' => 'followTourBox')
                )
            )
        )
    /* means visible to all Space except personal Space 
     */
    ),
    'db' => array(
        'connection' => array(
            'default' => 'tourboxdb',
            'localdb' => array(
                'connectString' => 'mysql:host=localhost;dbname=bilynapp',
                'user' => 'blndba',
                'password' => 'blnpwd'
            ),
            'billeendb2' => array(
                'connectString' => 'mysql:host=billeencom.ipagemysql.com;dbname=billeendb2',
                'user' => 'billeendba',
                'password' => 'dba@billeendb'
            ),
            'tourboxdb' => array(
                'connectionString' => 'mysql:host=localhost;dbname=tourbox',
                'emulatePrepare' => true,
                'username' => 'test',
                'password' => 'password',
                'charset' => 'utf8',
                'tablePrefix' => 'tbl_',
                'enableParamLogging' => true,
            ),
        )
    )
);
?>
